<?php


namespace app\common\model;


use app\common\logic\SkillForm;
use app\common\logic\UserExtend;
use think\Model;

class FirstChat extends Model
{
    public function userTo()
    {
        return $this->hasOne(Users::class,'user_id','to_user');
    }


    public function form()
    {
        return $this->hasOne(SkillForm::class,'form_id','form_id');
    }
    public function userToExtend()
    {
        return $this->hasOne(UserExtend::class,'user_id','to_user');
    }
}